package lgkj.meicqt20.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * 自启动
 * com.example.hjx.autostart Created by hjx on 2017/5/8 20:49
 *
 * @Company:
 * @Description: ${TODO}
 * @Email:1263276841@qq.com
 * @Version $Rev$
 * @UpdateAuthor $Author$ on 2017/5/8$
 * @UpdateDes ${TODO}
 */

public class AutoStartReceive extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        context.startService(new Intent(context, TimerService.class));
        Log.i("启动服务", "开机启动" + false);
    }
}
